package music_store.ms.controller.pages.portal;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
@RequestMapping("/cart")
public class CartPageController {

    @RequestMapping("/index")
    public String cartIndex(){
        return "/portal/cart/CartIndex";
    }

    @RequestMapping("/add")
    public String add(){
        return "/portal/cart/add";
    }

    @RequestMapping("/update")
    public String update(){
        return "/portal/cart/update";
    }

    @RequestMapping("/delete")
    public String delete(){
        return "/portal/cart/delete";
    }

    @RequestMapping("/select")
    public String select(){
        return "/portal/cart/select";
    }

    @RequestMapping("/un_select")
    public String un_select(){
        return "/portal/cart/un_select";
    }




}
